package com.ChenYaRou.www.po;

import java.time.LocalDateTime;

/**
 * @ClassName JsonBeanOrders
 * @Description TODO
 * @Author 86183
 * @Date 2022/5/5 0:01
 * @Version 1.0
 **/
public class JsonBeanOrders {
    private Integer id;
    private Integer buyerId;
    private String ownerName;
    private String shopName;
    private String content;
    private String state;
    private Float cost;
    private LocalDateTime updateTime;
    private LocalDateTime orderTime;

    public JsonBeanOrders() {
    }

    public JsonBeanOrders(Integer id, String ownerName, String shopName, String content,Integer buyerId,
                          String state, Float cost, LocalDateTime updateTime, LocalDateTime orderTime) {
        this.id=id;
        this.ownerName = ownerName;
        this.shopName = shopName;
        this.content = content;
        this.state = state;
        this.cost = cost;
        this.updateTime = updateTime;
        this.orderTime = orderTime;
        this.buyerId = buyerId;
    }

    @Override
    public String toString() {
        return "JsonBeanOrders{" +
                "id=" + id +
                ", buyerId=" + buyerId +
                ", ownerName='" + ownerName + '\'' +
                ", shopName='" + shopName + '\'' +
                ", content='" + content + '\'' +
                ", state='" + state + '\'' +
                ", cost=" + cost +
                ", updateTime=" + updateTime +
                ", orderTime=" + orderTime +
                '}';
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Float getCost() {
        return cost;
    }

    public void setCost(Float cost) {
        this.cost = cost;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(LocalDateTime orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }
}
